package beans;

/**
 * Created with IntelliJ IDEA.
 * User: Oleg
 * Date: 06.12.13
 * Time: 2:56
 * To change this template use File | Settings | File Templates.
 */
public class User {

    String name;
    String login;
    String password;
    boolean admin;

    public User(String name, String login, String password, boolean admin) {
        this.name = name;
        this.login = login;
        this.password = password;
        this.admin = admin;
    }

    public String getName() {
        return name;
    }


    public String getLogin() {
        return login;
    }


    public String getPassword() {
        return password;
    }


    public boolean isAdmin() {
        return admin;
    }

}
